<!--
  Generated template for the MycardPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar text-center>
    <ion-title>我的卡片</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list>
    <ion-item>
      <ion-label>姓名</ion-label>
      <ion-input type="text" [(ngModel)]="mycard.name"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>年级</ion-label>
      <ion-input type="text" [(ngModel)]="mycard.nj"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>专业</ion-label>
      <ion-input type="text" [(ngModel)]="mycard.zy"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>邮箱</ion-label>
      <ion-input type="text"[(ngModel)]="mycard.email"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>电话</ion-label>
      <ion-input type="number" [(ngModel)]="mycard.phone"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label>个人描述</ion-label>
    </ion-item>
    <ion-textarea cols="30" rows="10" style="border: solid 1px blue" [(ngModel)]="mycard.des">

    </ion-textarea>
  </ion-list>
</ion-content>
<ion-footer>
  <button ion-button block (click)="savemycard()">保存</button>
</ion-footer>